package com.example.banksys;

import javafx.beans.property.*;

import java.sql.Timestamp;

public class employeeTradeTrace {
    protected SimpleLongProperty tradeID;
    protected SimpleStringProperty tradeType;
    protected SimpleDoubleProperty tradeMoney;

    protected Timestamp tradeDate;
    protected SimpleLongProperty tellerID;
    protected SimpleStringProperty tellerName;
    protected SimpleStringProperty tellerOrganization;

    public employeeTradeTrace(){
        tradeID=new SimpleLongProperty();
        tradeType=new SimpleStringProperty();
        tradeMoney=new SimpleDoubleProperty();
        tellerID=new SimpleLongProperty();
        tellerName=new SimpleStringProperty();
        tellerOrganization=new SimpleStringProperty();
    }

    public SimpleLongProperty getTradeID(){
        return this.tradeID;
    }

    public void setTradeID(long tradeID) {
        this.tradeID.set(tradeID);
    }

    public SimpleStringProperty getTradeType(){
        return this.tradeType;
    }

    public void setTradeType(String tradeType) {
        this.tradeType.set(tradeType);
    }

    public SimpleDoubleProperty getTradeMoney(){
        return this.tradeMoney;
    }

    public void setTradeMoney(double tradeMoney) {
        this.tradeMoney.set(tradeMoney);
    }

    public Timestamp getTradeDate() {
        return tradeDate;
    }

    public void setTradeDate(Timestamp tradeDate) {
        this.tradeDate = tradeDate;
    }

    public void setTellerID(long tellerID) {
        this.tellerID.set(tellerID);
    }

    public SimpleLongProperty getTellerID(){
        return this.tellerID;
    }

    public SimpleStringProperty getTellerName(){
        return this.tellerName;
    }

    public void setTellerName(String tellerName) {
        this.tellerName.set(tellerName);
    }

    public SimpleStringProperty getTellerOrganization(){
        return this.tellerOrganization;
    }

    public void setTellerOrganization(String tellerOrganization) {
        this.tellerOrganization.set(tellerOrganization);
    }
}
